<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<style> 
	p.word-wrap
	{
		width:588px;
		word-wrap:break-word;
		margin: 1px;
	}
</style>
	<div style="width:100%">
		<c:choose>
			<c:when test="${listSize > 0 }" >
				${listSize} records
			</c:when>
			<c:otherwise>
				Data not found
			</c:otherwise>
		</c:choose>
		
		
		<table border=1 style="width:100%">
		<c:forEach var="events" items="${listEvents}">
			<tr style="width:100%">
				<td style="width:125px">${events.time}</td>
				<td style="width:125px">${events.source}</td> 
				<td style="width:590px;"><p class="word-wrap">${events.requestRaw}</p></td>
				<td style="width:50px">${events.pattern}</td> 
			</tr>
		</c:forEach>
		</table>
	</div>
